import axiosInstance from '../utils/axios'

const Api = {
  login: '/api/outer/login',
  logout: '/api/outer/logout'
}

// 登录
const login = (params) => {
  return Promise.resolve({
    success: true
  })
  // return axiosInstance.post(Api.login, params)
}
// 退出登录
const logout = (params) => {
  return axiosInstance.post(Api.logout, params)
}

export {
  login,
  logout
}
